package com.tools.controller;

import com.tools.common.beans.constant.ControllerConstant;
import com.tools.common.beans.vo.Result;
import com.tools.common.utils.vo.ResultTable;
import com.tools.generator.entity.Connect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;

import java.util.List;

/**
 * 连接信息
 * @author Admin
 */
@RestController
@RequestMapping(ControllerConstant.API_CONN_PREFIX)
public class ConnectionController extends BaseController{

    /**
     * 基础路径
     */
    private final String prefix = "generate/";

    @GetMapping(value = {"conn","conn.html"})
    public ModelAndView conn() {
        return jumpPage(prefix + "conn");
    }


}
